export default [
  {
    path: "/home",
    name: "Home",
    component: () => import("@/views/Home/index.vue"),
    redirect:"/home/music",
    children:[
      {
        path:"music",
        name:"Music",
        component:()=>import("@/views/Home/components/Music/index.vue")
      },
      {
        path:"news",
        name:"News",
        component:()=>import("@/views/Home/components/News/index.vue")
      }
    ]
  },
  {
    path: "/login",
    name: "Login",
    component: () => import("@/views/Login/index.vue"),
  },
  {
    path: "/",
    redirect: "/home",
  },
  {
    path:"/:pathMatch(.*)*",
    component:()=>import('@/views/NotFound/index.vue')
  }
];
